<?php
$body = array(
  "bpCode" => "ABC-60025",
  "name" => "Test_QA_PROD1",
  "brand" => "Adore Fashion Ladies",
  "url" => "",
  "categoryCode" => "HI-1000023",
  "productType" => "1",
  "pickupPointCode" => "PP-3038770",
  "length" => 2,
  "width" => 2,
  "height" => 2,
  "weight" => 2,
  "shippingWeight" => 222,
  "description" => base64_encode("This is your content"),
  "uniqueSellingPoint" => base64_encode("This is your content"),
  "productStory" => base64_encode("This is your content"),
  "productNonDefiningAttributes" => array(
    "BE-2000032" => "22",
    "DI-2000028" => "23",
    "GA-2000042" => "4",
    "KE-2000092" => "12",
    "LA-2000050" => "errr",
    "MA-0000006" => "leather",
    "TI-2000059" => "Ankle Boots"
  ),
  "productDefiningAttributes" => array(
    "UK-M000296" => ["8"],
    "WA-0000002" => ["Forrest Green"]
  ),
  "productItems" => array(
      array(
      "upcCode" => "upc_1",
      "merchantSku" => "foue_stone_5",
      "price" => "2500.0",
      "salePrice" => "2250.0",
      "stock" => 30,
      "minimumStock" => 0,
      "displayable" => true,
      "buyable" => true,
      "images" => ["image-1"],
      "dangerousGoodsLevel" => "",
      "attributesMap" => array(
        "UK-M000296" => "8",
        "WA-0000002" => "Forrest Green"
      )
    )
  ),
  "imageMap" => array( //Base64 of your image data
      "image-1" => "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAYEBAUEBAYFBQUGBgYHCQ4JCQgICRINDQoOFRIWFhUSFBQXGiEcFxgfGRQUHScdHyIjJSUlFhwpLCgkKyEkJST/2wBDAQYGBgkICREJCREkGBQYJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCT/wAARCAD4APgDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0R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